package com.shoulei.designpattern.prototypePattern;

/**
 * @ClassName:PrototypePatternDemo
 * @Descrition:
 * @Author:shoulei
 * @Date:2019/3/31 21:19
 * @Verson:
 */
public class PrototypePatternDemo {

    public static void main(String[] args) {
        ShapeCache.loadCache();
        Shape circle = ShapeCache.shapeMap.get("1");
        System.out.println(circle.getType());
    }
}
